#include <QCoreApplication>

#include <iostream>
#include <QDebug>

using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    int age;
    qInfo()<<"输入年龄:";
    cin>>age;
    qInfo()<<"你的年龄是:"<<age;

    return a.exec();
}
